toNegativeIntOrNull

@SinceKotoolsTypes(version = "1.1")
fun Int.toNegativeIntOrNull(): NegativeInt?

Returns this value as a negative int, or returns null if this value is strictly positive.